public class Cat extends Animal{
    private static String animalType;

    public Cat() {
    }

    public static String getAnimalType() {
        return animalType;
    }

    public static void setAnimalType(String animalType) {
        Cat.animalType = animalType;
    }

    @Override
    public void eat(){
        System.out.println(super.getName() + "吃鱼");
    }

}
